<!-- HTML header for doxygen 1.9.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>COMMONS-NET: commonsNet.ftp.FTPFile类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">COMMONS-NET
   </div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classcommonsNet_1_1ftp_1_1FTPFile.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcommonsNet_1_1ftp_1_1FTPFile-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">commonsNet.ftp.FTPFile类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>用于表示存储在 FTP 服务器上的文件信息。  
 <a href="classcommonsNet_1_1ftp_1_1FTPFile.html#details">更多...</a></p>
<div class="dynheader">
类 commonsNet.ftp.FTPFile 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcommonsNet_1_1ftp_1_1FTPFile.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ae091f737d39f00370228e5c1e4ea4f15"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#ae091f737d39f00370228e5c1e4ea4f15">init</a> ()</td></tr>
<tr class="memdesc:ae091f737d39f00370228e5c1e4ea4f15"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数，创建一个空的 FTPFile 对象，权限都设置为无。  <br /></td></tr>
<tr class="separator:ae091f737d39f00370228e5c1e4ea4f15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae01b0ef17e9bb9e52b7c738fb46f951"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#aae01b0ef17e9bb9e52b7c738fb46f951">init</a> (RawListing: String)</td></tr>
<tr class="memdesc:aae01b0ef17e9bb9e52b7c738fb46f951"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于在解析失败时创建一个 FTPFile 对象的实例。主要用于 <code><a class="el" href="">FTPListParseEngine</a></code> 。  <br /></td></tr>
<tr class="separator:aae01b0ef17e9bb9e52b7c738fb46f951"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abba63d7e8cf598a14bcdee6456fa6fad"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#abba63d7e8cf598a14bcdee6456fa6fad">getGroup</a> (): String</td></tr>
<tr class="memdesc:abba63d7e8cf598a14bcdee6456fa6fad"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取拥有文件的组的名称。有时字符串表示的为组号。  <br /></td></tr>
<tr class="separator:abba63d7e8cf598a14bcdee6456fa6fad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e0ef168dae9819d88a244bd07805618"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a5e0ef168dae9819d88a244bd07805618">getHardLinkCount</a> (): Int64</td></tr>
<tr class="memdesc:a5e0ef168dae9819d88a244bd07805618"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取该文件的硬链接数。  <br /></td></tr>
<tr class="separator:a5e0ef168dae9819d88a244bd07805618"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66c2c33e653a2db25610971a77011370"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a66c2c33e653a2db25610971a77011370">getLink</a> (): String</td></tr>
<tr class="memdesc:a66c2c33e653a2db25610971a77011370"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果FTPFile是符号链接，此方法返回符号链接指向的文件的名称。否则，返回String.empty。  <br /></td></tr>
<tr class="separator:a66c2c33e653a2db25610971a77011370"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9096eb3162f8f529fc85a2c268cf78ce"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a9096eb3162f8f529fc85a2c268cf78ce">getName</a> (): String</td></tr>
<tr class="memdesc:a9096eb3162f8f529fc85a2c268cf78ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取文件的名称。  <br /></td></tr>
<tr class="separator:a9096eb3162f8f529fc85a2c268cf78ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b0c21a741c727e02184b635a8a8d91e"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a2b0c21a741c727e02184b635a8a8d91e">getRawListing</a> (): String</td></tr>
<tr class="memdesc:a2b0c21a741c727e02184b635a8a8d91e"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取用于初始化FTPFile的原始FTP服务器列表条目。  <br /></td></tr>
<tr class="separator:a2b0c21a741c727e02184b635a8a8d91e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38517a89385d910f037ef85ea169ac8f"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a38517a89385d910f037ef85ea169ac8f">getSize</a> (): Int64</td></tr>
<tr class="memdesc:a38517a89385d910f037ef85ea169ac8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取文件的大小（以字节为单位）。  <br /></td></tr>
<tr class="separator:a38517a89385d910f037ef85ea169ac8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e13d099a9347b6deb7d41c1f580b85f"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a6e13d099a9347b6deb7d41c1f580b85f">getTimestamp</a> (): ?DateTime</td></tr>
<tr class="memdesc:a6e13d099a9347b6deb7d41c1f580b85f"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取文件的时间戳。这通常是最后修改时间。  <br /></td></tr>
<tr class="separator:a6e13d099a9347b6deb7d41c1f580b85f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a134d8240980965f000bce9d24c9250a0"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a134d8240980965f000bce9d24c9250a0">getType</a> (): Int64</td></tr>
<tr class="memdesc:a134d8240980965f000bce9d24c9250a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取文件的类型（ _TYPE 常量之一），可以为目录、普通文件或符号链接。  <br /></td></tr>
<tr class="separator:a134d8240980965f000bce9d24c9250a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a8ca4f2b3f11072af6dde5a2ec5dff8"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a4a8ca4f2b3f11072af6dde5a2ec5dff8">getUser</a> (): String</td></tr>
<tr class="memdesc:a4a8ca4f2b3f11072af6dde5a2ec5dff8"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取拥有文件的用户名。有时表示的为用户编号。  <br /></td></tr>
<tr class="separator:a4a8ca4f2b3f11072af6dde5a2ec5dff8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6afd12a592022502230abbdbb677e246"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a6afd12a592022502230abbdbb677e246">hasPermission</a> (access: Int64, permission: Int64): Bool</td></tr>
<tr class="memdesc:a6afd12a592022502230abbdbb677e246"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断给定访问组（ _ACCESS 常量之一）是否具有给定访问权限（ _PERMISSION 常量之一）。  <br /></td></tr>
<tr class="separator:a6afd12a592022502230abbdbb677e246"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad76e3eaa8dff6bd9778b21d84d831390"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#ad76e3eaa8dff6bd9778b21d84d831390">isDirectory</a> (): Bool</td></tr>
<tr class="memdesc:ad76e3eaa8dff6bd9778b21d84d831390"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断文件是否为目录。  <br /></td></tr>
<tr class="separator:ad76e3eaa8dff6bd9778b21d84d831390"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a242480c20cac851181178c8e183465ca"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a242480c20cac851181178c8e183465ca">isFile</a> (): Bool</td></tr>
<tr class="memdesc:a242480c20cac851181178c8e183465ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断文件是否为普通文件。  <br /></td></tr>
<tr class="separator:a242480c20cac851181178c8e183465ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2dcef45e8ffd2970b4a8904f16f205e"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#af2dcef45e8ffd2970b4a8904f16f205e">isSymbolicLink</a> (): Bool</td></tr>
<tr class="memdesc:af2dcef45e8ffd2970b4a8904f16f205e"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断文件是否为符号链接。  <br /></td></tr>
<tr class="separator:af2dcef45e8ffd2970b4a8904f16f205e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb8a260732046d3d1f13b6d92360c017"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#aeb8a260732046d3d1f13b6d92360c017">isUnknown</a> (): Bool</td></tr>
<tr class="memdesc:aeb8a260732046d3d1f13b6d92360c017"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断文件类型是否为未知。  <br /></td></tr>
<tr class="separator:aeb8a260732046d3d1f13b6d92360c017"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a017899f4aa1f17891e09ab5daeabe58b"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a017899f4aa1f17891e09ab5daeabe58b">isValid</a> (): Bool</td></tr>
<tr class="memdesc:a017899f4aa1f17891e09ab5daeabe58b"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断条目是否有效。如果条目无效，只有 <code><a class="el" href="">getRawListing()</a></code> 方法有用，其他方法可能会失败。  <br /></td></tr>
<tr class="separator:a017899f4aa1f17891e09ab5daeabe58b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a991a4b63c17b0f74fa293238c9f9af11"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a991a4b63c17b0f74fa293238c9f9af11">setGroup</a> (group: String): Unit</td></tr>
<tr class="memdesc:a991a4b63c17b0f74fa293238c9f9af11"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置文件所属组的名称，也可能是一个表示组编号的字符串。  <br /></td></tr>
<tr class="separator:a991a4b63c17b0f74fa293238c9f9af11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a481712924a0950370c0f16bb42abc7e0"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a481712924a0950370c0f16bb42abc7e0">setHardLinkCount</a> (links: Int64): Unit</td></tr>
<tr class="memdesc:a481712924a0950370c0f16bb42abc7e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置此文件的硬链接数。  <br /></td></tr>
<tr class="separator:a481712924a0950370c0f16bb42abc7e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9141563890daef548bfe42abaa845d7"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#ae9141563890daef548bfe42abaa845d7">setLink</a> (link: String): Unit</td></tr>
<tr class="memdesc:ae9141563890daef548bfe42abaa845d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果 FTPFile 是一个符号链接，使用此方法设置被符号链接指向的文件的名称。  <br /></td></tr>
<tr class="separator:ae9141563890daef548bfe42abaa845d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43773c63cd26a1d5bd372ab1350fa715"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a43773c63cd26a1d5bd372ab1350fa715">setName</a> (name: String): Unit</td></tr>
<tr class="memdesc:a43773c63cd26a1d5bd372ab1350fa715"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置文件的名称。  <br /></td></tr>
<tr class="separator:a43773c63cd26a1d5bd372ab1350fa715"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae463c62e2a536b779e44bf9cf9d30c61"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#ae463c62e2a536b779e44bf9cf9d30c61">setPermission</a> (access: Int64, permission: Int64, value: Bool): Unit</td></tr>
<tr class="memdesc:ae463c62e2a536b779e44bf9cf9d30c61"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置给定访问组（ _ACCESS 常量之一）是否具有对文件的给定访问权限（ _PERMISSION 常量之一）。  <br /></td></tr>
<tr class="separator:ae463c62e2a536b779e44bf9cf9d30c61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bb5fab51c6014f4e4f211d78e0e4942"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a5bb5fab51c6014f4e4f211d78e0e4942">setRawListing</a> (rawListing: String): Unit</td></tr>
<tr class="memdesc:a5bb5fab51c6014f4e4f211d78e0e4942"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置FTPFile创建时的原始FTP服务器列表。  <br /></td></tr>
<tr class="separator:a5bb5fab51c6014f4e4f211d78e0e4942"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3345291ab83e341d6a093614bb914569"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a3345291ab83e341d6a093614bb914569">setSize</a> (size: Int64): Unit</td></tr>
<tr class="memdesc:a3345291ab83e341d6a093614bb914569"><td class="mdescLeft">&#160;</td><td class="mdescRight">以字节为单位设置文件大小。  <br /></td></tr>
<tr class="separator:a3345291ab83e341d6a093614bb914569"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ecfd5fb5d6255bccd921a8b1fddd039"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a1ecfd5fb5d6255bccd921a8b1fddd039">setTimestamp</a> (date: ?DateTime): Unit</td></tr>
<tr class="memdesc:a1ecfd5fb5d6255bccd921a8b1fddd039"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置文件时间戳。这通常指最后修改时间。  <br /></td></tr>
<tr class="separator:a1ecfd5fb5d6255bccd921a8b1fddd039"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a144a4429ffb715c5bf72ba778b01e650"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a144a4429ffb715c5bf72ba778b01e650">setType</a> (Type: Int64): Unit</td></tr>
<tr class="memdesc:a144a4429ffb715c5bf72ba778b01e650"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置文件的类型（ <code><a class="el" href="">DIRECTORY_TYPE</a></code> 、 <code><a class="el" href="">FILE_TYPE</a></code> 等）。  <br /></td></tr>
<tr class="separator:a144a4429ffb715c5bf72ba778b01e650"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99e3474c9a5185b5895849de1affa385"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a99e3474c9a5185b5895849de1affa385">setUser</a> (user: String): Unit</td></tr>
<tr class="memdesc:a99e3474c9a5185b5895849de1affa385"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置拥有文件的用户的名称。这可能是表示用户编号的字符串。  <br /></td></tr>
<tr class="separator:a99e3474c9a5185b5895849de1affa385"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a418921b84d52591e506185dce84c47f8"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a418921b84d52591e506185dce84c47f8">toFormattedString</a> (): String</td></tr>
<tr class="memdesc:a418921b84d52591e506185dce84c47f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取FTPFile信息的字符串表示形式，模仿Unix列表格式。  <br /></td></tr>
<tr class="separator:a418921b84d52591e506185dce84c47f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae210ba5ba5545a1c335c8eff76650aa6"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#ae210ba5ba5545a1c335c8eff76650aa6">toFormattedString</a> (timezone: ?String): String</td></tr>
<tr class="memdesc:ae210ba5ba5545a1c335c8eff76650aa6"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取FTPFile信息的字符串表示形式，允许修改时区。目前模仿Unix列表格式。  <br /></td></tr>
<tr class="separator:ae210ba5ba5545a1c335c8eff76650aa6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a915035fdb0da35b5ee12c532d70a9a50"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a915035fdb0da35b5ee12c532d70a9a50">toString</a> (): String</td></tr>
<tr class="memdesc:a915035fdb0da35b5ee12c532d70a9a50"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取 FTPFile 信息的字符串表示形式。  <br /></td></tr>
<tr class="separator:a915035fdb0da35b5ee12c532d70a9a50"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a4fcc79d8af8ce49b6e2cd26de5b44b8f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a4fcc79d8af8ce49b6e2cd26de5b44b8f">static let FILE_TYPE</a> : Int64 = 0</td></tr>
<tr class="memdesc:a4fcc79d8af8ce49b6e2cd26de5b44b8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">常量，表示 FTPFile 是一个文件。  <br /></td></tr>
<tr class="separator:a4fcc79d8af8ce49b6e2cd26de5b44b8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b5bf7da6e22050d571e413b1c41077b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a9b5bf7da6e22050d571e413b1c41077b">static let DIRECTORY_TYPE</a> : Int64 = 1</td></tr>
<tr class="memdesc:a9b5bf7da6e22050d571e413b1c41077b"><td class="mdescLeft">&#160;</td><td class="mdescRight">常量，表示 FTPFile 是一个目录。  <br /></td></tr>
<tr class="separator:a9b5bf7da6e22050d571e413b1c41077b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8483fa485f6d7b9e5c9bae129968eb8c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a8483fa485f6d7b9e5c9bae129968eb8c">static let SYMBOLIC_LINK_TYPE</a> : Int64 = 2</td></tr>
<tr class="memdesc:a8483fa485f6d7b9e5c9bae129968eb8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">常量，表示 FTPFile 是一个符号链接。  <br /></td></tr>
<tr class="separator:a8483fa485f6d7b9e5c9bae129968eb8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf11edbf5d6210f251fbe66e9f50bbbb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#acf11edbf5d6210f251fbe66e9f50bbbb">static let UNKNOWN_TYPE</a> : Int64 = 3</td></tr>
<tr class="memdesc:acf11edbf5d6210f251fbe66e9f50bbbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">常量，表示 FTPFile 类型未知。  <br /></td></tr>
<tr class="separator:acf11edbf5d6210f251fbe66e9f50bbbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c52f64f70f8e85e5e9d4663cfc20ec6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a6c52f64f70f8e85e5e9d4663cfc20ec6">static let USER_ACCESS</a> : Int64 = 0</td></tr>
<tr class="memdesc:a6c52f64f70f8e85e5e9d4663cfc20ec6"><td class="mdescLeft">&#160;</td><td class="mdescRight">常量，表示用户访问权限。  <br /></td></tr>
<tr class="separator:a6c52f64f70f8e85e5e9d4663cfc20ec6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abda62dd47f3776acd3ea0dca92f30e24"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#abda62dd47f3776acd3ea0dca92f30e24">static let GROUP_ACCESS</a> : Int64 = 1</td></tr>
<tr class="memdesc:abda62dd47f3776acd3ea0dca92f30e24"><td class="mdescLeft">&#160;</td><td class="mdescRight">常量，表示组访问权限。  <br /></td></tr>
<tr class="separator:abda62dd47f3776acd3ea0dca92f30e24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ca1e00ed49678f72a79bbcbad96ed65"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a2ca1e00ed49678f72a79bbcbad96ed65">static let WORLD_ACCESS</a> : Int64 = 2</td></tr>
<tr class="memdesc:a2ca1e00ed49678f72a79bbcbad96ed65"><td class="mdescLeft">&#160;</td><td class="mdescRight">常量，表示其他用户访问权限。  <br /></td></tr>
<tr class="separator:a2ca1e00ed49678f72a79bbcbad96ed65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fbab9bfbde9b360a51214aaf5575f60"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a3fbab9bfbde9b360a51214aaf5575f60">static let READ_PERMISSION</a> : Int64 = 0</td></tr>
<tr class="memdesc:a3fbab9bfbde9b360a51214aaf5575f60"><td class="mdescLeft">&#160;</td><td class="mdescRight">常量，表示文件/目录读取权限。  <br /></td></tr>
<tr class="separator:a3fbab9bfbde9b360a51214aaf5575f60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69586a54c791d4db5f8af1f51831dce2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a69586a54c791d4db5f8af1f51831dce2">static let WRITE_PERMISSION</a> : Int64 = 1</td></tr>
<tr class="memdesc:a69586a54c791d4db5f8af1f51831dce2"><td class="mdescLeft">&#160;</td><td class="mdescRight">常量，表示文件/目录写权限。  <br /></td></tr>
<tr class="separator:a69586a54c791d4db5f8af1f51831dce2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55d85b1a9f9c3c87429812bb31a2abe2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a55d85b1a9f9c3c87429812bb31a2abe2">static let EXECUTE_PERMISSION</a> : Int64 = 2</td></tr>
<tr class="memdesc:a55d85b1a9f9c3c87429812bb31a2abe2"><td class="mdescLeft">&#160;</td><td class="mdescRight">常量，表示文件/目录执行权限。  <br /></td></tr>
<tr class="separator:a55d85b1a9f9c3c87429812bb31a2abe2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:afcc4fb76da5e1a3dda4f3d82b187e746"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#afcc4fb76da5e1a3dda4f3d82b187e746">formatType</a> (): Rune</td></tr>
<tr class="memdesc:afcc4fb76da5e1a3dda4f3d82b187e746"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取文件类型对应的格式字符。  <br /></td></tr>
<tr class="separator:afcc4fb76da5e1a3dda4f3d82b187e746"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06740700e44979ade9cfa5ab9b8699b5"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a06740700e44979ade9cfa5ab9b8699b5">permissionToString</a> (access: Int64): String</td></tr>
<tr class="memdesc:a06740700e44979ade9cfa5ab9b8699b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">将给定访问组的权限转换为字符串表示形式。  <br /></td></tr>
<tr class="separator:a06740700e44979ade9cfa5ab9b8699b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a3d54f31c77348a1b9b834db9167b2aa7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a3d54f31c77348a1b9b834db9167b2aa7">var _type</a> : Int64 = UNKNOWN_TYPE</td></tr>
<tr class="memdesc:a3d54f31c77348a1b9b834db9167b2aa7"><td class="mdescLeft">&#160;</td><td class="mdescRight">文件类型，默认为未知类型。  <br /></td></tr>
<tr class="separator:a3d54f31c77348a1b9b834db9167b2aa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3f716a788142ba82610896f3a227456"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#ad3f716a788142ba82610896f3a227456">var hardLinkCount</a> : Int64 = 0</td></tr>
<tr class="memdesc:ad3f716a788142ba82610896f3a227456"><td class="mdescLeft">&#160;</td><td class="mdescRight">硬链接数，0表示无效。  <br /></td></tr>
<tr class="separator:ad3f716a788142ba82610896f3a227456"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3898ed6a3f9109b5bd4ff845fb1a67e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#af3898ed6a3f9109b5bd4ff845fb1a67e">var size</a> : Int64 = -1</td></tr>
<tr class="memdesc:af3898ed6a3f9109b5bd4ff845fb1a67e"><td class="mdescLeft">&#160;</td><td class="mdescRight">文件大小，-1表示大小未知。  <br /></td></tr>
<tr class="separator:af3898ed6a3f9109b5bd4ff845fb1a67e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56e0b8a80f492e83a86bdf3c56943d53"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a56e0b8a80f492e83a86bdf3c56943d53">var rawListing</a> : String</td></tr>
<tr class="memdesc:a56e0b8a80f492e83a86bdf3c56943d53"><td class="mdescLeft">&#160;</td><td class="mdescRight">原始列表信息。  <br /></td></tr>
<tr class="separator:a56e0b8a80f492e83a86bdf3c56943d53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4a85d9c408a36b6362cef7fec02d620"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#ae4a85d9c408a36b6362cef7fec02d620">var user</a> : String = &quot;&quot;</td></tr>
<tr class="memdesc:ae4a85d9c408a36b6362cef7fec02d620"><td class="mdescLeft">&#160;</td><td class="mdescRight">文件所有者。  <br /></td></tr>
<tr class="separator:ae4a85d9c408a36b6362cef7fec02d620"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9251a451f4b090865a9e70e1b6776e77"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a9251a451f4b090865a9e70e1b6776e77">var group</a> : String = &quot;&quot;</td></tr>
<tr class="memdesc:a9251a451f4b090865a9e70e1b6776e77"><td class="mdescLeft">&#160;</td><td class="mdescRight">所属组。  <br /></td></tr>
<tr class="separator:a9251a451f4b090865a9e70e1b6776e77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adaa110b53b8a0914a4fd87b19ac95678"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#adaa110b53b8a0914a4fd87b19ac95678">var name</a> : String = &quot;&quot;</td></tr>
<tr class="memdesc:adaa110b53b8a0914a4fd87b19ac95678"><td class="mdescLeft">&#160;</td><td class="mdescRight">文件名。  <br /></td></tr>
<tr class="separator:adaa110b53b8a0914a4fd87b19ac95678"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf4e6b5a42879cd5defaa9c6e59fbca2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#acf4e6b5a42879cd5defaa9c6e59fbca2">var link</a> : String = &quot;&quot;</td></tr>
<tr class="memdesc:acf4e6b5a42879cd5defaa9c6e59fbca2"><td class="mdescLeft">&#160;</td><td class="mdescRight">符号链接指向文件名。  <br /></td></tr>
<tr class="separator:acf4e6b5a42879cd5defaa9c6e59fbca2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fd750ee09172350ccc496c663c9b132"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a2fd750ee09172350ccc496c663c9b132">var calendar</a> : ?DateTime = None</td></tr>
<tr class="memdesc:a2fd750ee09172350ccc496c663c9b132"><td class="mdescLeft">&#160;</td><td class="mdescRight">文件修改时间。  <br /></td></tr>
<tr class="separator:a2fd750ee09172350ccc496c663c9b132"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bbcc92fbb7dcc29c92e69bc0be23042"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html#a0bbcc92fbb7dcc29c92e69bc0be23042">let permissions</a> : ?Array&lt;Array&lt;Bool&gt;&gt;</td></tr>
<tr class="memdesc:a0bbcc92fbb7dcc29c92e69bc0be23042"><td class="mdescLeft">&#160;</td><td class="mdescRight">表示权限的二维数组。如果为 None ，表示文件解析失败。  <br /></td></tr>
<tr class="separator:a0bbcc92fbb7dcc29c92e69bc0be23042"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>用于表示存储在 FTP 服务器上的文件信息。 </p>
<dl class="section see"><dt>参见</dt><dd>FTPFileEntryParser </dd>
<dd>
FTPClient::listFiles </dd></dl>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="ae091f737d39f00370228e5c1e4ea4f15" name="ae091f737d39f00370228e5c1e4ea4f15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae091f737d39f00370228e5c1e4ea4f15">&#9670;&#160;</a></span>init() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.ftp.FTPFile.init </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造函数，创建一个空的 FTPFile 对象，权限都设置为无。 </p>

</div>
</div>
<a id="aae01b0ef17e9bb9e52b7c738fb46f951" name="aae01b0ef17e9bb9e52b7c738fb46f951"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae01b0ef17e9bb9e52b7c738fb46f951">&#9670;&#160;</a></span>init() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.ftp.FTPFile.init </td>
          <td>(</td>
          <td class="paramname"><em>RawListing</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>用于在解析失败时创建一个 FTPFile 对象的实例。主要用于 <code><a class="el" href="">FTPListParseEngine</a></code> 。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">RawListing</td><td>无法解析的条目行 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="afcc4fb76da5e1a3dda4f3d82b187e746" name="afcc4fb76da5e1a3dda4f3d82b187e746"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcc4fb76da5e1a3dda4f3d82b187e746">&#9670;&#160;</a></span>formatType()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.ftp.FTPFile.formatType </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Rune </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取文件类型对应的格式字符。 </p>
<dl class="section return"><dt>返回</dt><dd>文件类型对应的格式字符 </dd></dl>

</div>
</div>
<a id="abba63d7e8cf598a14bcdee6456fa6fad" name="abba63d7e8cf598a14bcdee6456fa6fad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abba63d7e8cf598a14bcdee6456fa6fad">&#9670;&#160;</a></span>getGroup()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.getGroup </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取拥有文件的组的名称。有时字符串表示的为组号。 </p>
<dl class="section return"><dt>返回</dt><dd>拥有文件的组的名称 </dd></dl>

</div>
</div>
<a id="a5e0ef168dae9819d88a244bd07805618" name="a5e0ef168dae9819d88a244bd07805618"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e0ef168dae9819d88a244bd07805618">&#9670;&#160;</a></span>getHardLinkCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.getHardLinkCount </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Int64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取该文件的硬链接数。 </p>
<dl class="section return"><dt>返回</dt><dd>该文件的硬链接数 </dd></dl>

</div>
</div>
<a id="a66c2c33e653a2db25610971a77011370" name="a66c2c33e653a2db25610971a77011370"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66c2c33e653a2db25610971a77011370">&#9670;&#160;</a></span>getLink()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.getLink </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>如果FTPFile是符号链接，此方法返回符号链接指向的文件的名称。否则，返回String.empty。 </p>
<dl class="section return"><dt>返回</dt><dd>符号链接指向的文件（如果FTPFile不是符号链接，则为String.empty）。 </dd></dl>

</div>
</div>
<a id="a9096eb3162f8f529fc85a2c268cf78ce" name="a9096eb3162f8f529fc85a2c268cf78ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9096eb3162f8f529fc85a2c268cf78ce">&#9670;&#160;</a></span>getName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.getName </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取文件的名称。 </p>
<dl class="section return"><dt>返回</dt><dd>文件的名称 </dd></dl>

</div>
</div>
<a id="a2b0c21a741c727e02184b635a8a8d91e" name="a2b0c21a741c727e02184b635a8a8d91e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b0c21a741c727e02184b635a8a8d91e">&#9670;&#160;</a></span>getRawListing()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.getRawListing </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取用于初始化FTPFile的原始FTP服务器列表条目。 </p>
<dl class="section return"><dt>返回</dt><dd>用于初始化FTPFile的原始FTP服务器列表条目 </dd></dl>

</div>
</div>
<a id="a38517a89385d910f037ef85ea169ac8f" name="a38517a89385d910f037ef85ea169ac8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38517a89385d910f037ef85ea169ac8f">&#9670;&#160;</a></span>getSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.getSize </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Int64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取文件的大小（以字节为单位）。 </p>
<dl class="section return"><dt>返回</dt><dd>文件的大小（以字节为单位） </dd></dl>

</div>
</div>
<a id="a6e13d099a9347b6deb7d41c1f580b85f" name="a6e13d099a9347b6deb7d41c1f580b85f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e13d099a9347b6deb7d41c1f580b85f">&#9670;&#160;</a></span>getTimestamp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.getTimestamp </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: ?DateTime </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取文件的时间戳。这通常是最后修改时间。 </p>
<dl class="section return"><dt>返回</dt><dd>表示文件时间戳的 DateTime 实例。 </dd></dl>

</div>
</div>
<a id="a134d8240980965f000bce9d24c9250a0" name="a134d8240980965f000bce9d24c9250a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a134d8240980965f000bce9d24c9250a0">&#9670;&#160;</a></span>getType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.getType </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Int64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取文件的类型（ _TYPE 常量之一），可以为目录、普通文件或符号链接。 </p>
<dl class="section return"><dt>返回</dt><dd>文件的类型。 </dd></dl>

</div>
</div>
<a id="a4a8ca4f2b3f11072af6dde5a2ec5dff8" name="a4a8ca4f2b3f11072af6dde5a2ec5dff8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a8ca4f2b3f11072af6dde5a2ec5dff8">&#9670;&#160;</a></span>getUser()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.getUser </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取拥有文件的用户名。有时表示的为用户编号。 </p>
<dl class="section return"><dt>返回</dt><dd>拥有文件的用户名。 </dd></dl>

</div>
</div>
<a id="a6afd12a592022502230abbdbb677e246" name="a6afd12a592022502230abbdbb677e246"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6afd12a592022502230abbdbb677e246">&#9670;&#160;</a></span>hasPermission()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.hasPermission </td>
          <td>(</td>
          <td class="paramname"><em>access</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>permission</em>:&#160;</td>
          <td class="paramtype">Int64&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断给定访问组（ _ACCESS 常量之一）是否具有给定访问权限（ _PERMISSION 常量之一）。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">access</td><td>访问组（ _ACCESS 常量之一） </td></tr>
    <tr><td class="paramname">permission</td><td>访问权限（ _PERMISSION 常量之一） </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果 <code><a class="el" href="">isValid()</a></code> 为 true 且关联权限已设置，则为 true ；否则为 false 。 </dd></dl>

</div>
</div>
<a id="ad76e3eaa8dff6bd9778b21d84d831390" name="ad76e3eaa8dff6bd9778b21d84d831390"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad76e3eaa8dff6bd9778b21d84d831390">&#9670;&#160;</a></span>isDirectory()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.isDirectory </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断文件是否为目录。 </p>
<dl class="section return"><dt>返回</dt><dd>如果文件类型为 <code><a class="el" href="">DIRECTORY_TYPE</a></code> ，则为 true ；否则为 false 。 </dd></dl>

</div>
</div>
<a id="a242480c20cac851181178c8e183465ca" name="a242480c20cac851181178c8e183465ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a242480c20cac851181178c8e183465ca">&#9670;&#160;</a></span>isFile()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.isFile </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断文件是否为普通文件。 </p>
<dl class="section return"><dt>返回</dt><dd>如果文件类型为 <code><a class="el" href="">FILE_TYPE</a></code> ，则为 true ；否则为 false 。 </dd></dl>

</div>
</div>
<a id="af2dcef45e8ffd2970b4a8904f16f205e" name="af2dcef45e8ffd2970b4a8904f16f205e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2dcef45e8ffd2970b4a8904f16f205e">&#9670;&#160;</a></span>isSymbolicLink()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.isSymbolicLink </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断文件是否为符号链接。 </p>
<dl class="section return"><dt>返回</dt><dd>如果文件类型为 <code><a class="el" href="">SYMBOLIC_LINK_TYPE</a></code> ，则为 true ；否则为 false 。 </dd></dl>

</div>
</div>
<a id="aeb8a260732046d3d1f13b6d92360c017" name="aeb8a260732046d3d1f13b6d92360c017"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb8a260732046d3d1f13b6d92360c017">&#9670;&#160;</a></span>isUnknown()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.isUnknown </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断文件类型是否为未知。 </p>
<dl class="section return"><dt>返回</dt><dd>如果文件类型为 <code><a class="el" href="">UNKNOWN_TYPE</a></code> ，则为 true ；否则为 false 。 </dd></dl>

</div>
</div>
<a id="a017899f4aa1f17891e09ab5daeabe58b" name="a017899f4aa1f17891e09ab5daeabe58b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a017899f4aa1f17891e09ab5daeabe58b">&#9670;&#160;</a></span>isValid()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.isValid </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断条目是否有效。如果条目无效，只有 <code><a class="el" href="">getRawListing()</a></code> 方法有用，其他方法可能会失败。 </p>
<dl class="section return"><dt>返回</dt><dd>如果条目有效，则为 true ；否则为 false</dd></dl>
<dl class="section see"><dt>参见</dt><dd>FTPClientConfig::setUnparseableEntries() </dd></dl>

</div>
</div>
<a id="a06740700e44979ade9cfa5ab9b8699b5" name="a06740700e44979ade9cfa5ab9b8699b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06740700e44979ade9cfa5ab9b8699b5">&#9670;&#160;</a></span>permissionToString()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.ftp.FTPFile.permissionToString </td>
          <td>(</td>
          <td class="paramname"><em>access</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>将给定访问组的权限转换为字符串表示形式。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">access</td><td>访问组 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>权限的字符串表示形式 </dd></dl>

</div>
</div>
<a id="a991a4b63c17b0f74fa293238c9f9af11" name="a991a4b63c17b0f74fa293238c9f9af11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a991a4b63c17b0f74fa293238c9f9af11">&#9670;&#160;</a></span>setGroup()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.setGroup </td>
          <td>(</td>
          <td class="paramname"><em>group</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置文件所属组的名称，也可能是一个表示组编号的字符串。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">group</td><td>文件所属组的名称 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a481712924a0950370c0f16bb42abc7e0" name="a481712924a0950370c0f16bb42abc7e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a481712924a0950370c0f16bb42abc7e0">&#9670;&#160;</a></span>setHardLinkCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.setHardLinkCount </td>
          <td>(</td>
          <td class="paramname"><em>links</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置此文件的硬链接数。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">links</td><td>此文件的硬链接数 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae9141563890daef548bfe42abaa845d7" name="ae9141563890daef548bfe42abaa845d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9141563890daef548bfe42abaa845d7">&#9670;&#160;</a></span>setLink()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.setLink </td>
          <td>(</td>
          <td class="paramname"><em>link</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>如果 FTPFile 是一个符号链接，使用此方法设置被符号链接指向的文件的名称。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">link</td><td>被符号链接指向的文件 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a43773c63cd26a1d5bd372ab1350fa715" name="a43773c63cd26a1d5bd372ab1350fa715"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43773c63cd26a1d5bd372ab1350fa715">&#9670;&#160;</a></span>setName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.setName </td>
          <td>(</td>
          <td class="paramname"><em>name</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置文件的名称。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>文件的名称 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae463c62e2a536b779e44bf9cf9d30c61" name="ae463c62e2a536b779e44bf9cf9d30c61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae463c62e2a536b779e44bf9cf9d30c61">&#9670;&#160;</a></span>setPermission()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.setPermission </td>
          <td>(</td>
          <td class="paramname"><em>access</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>permission</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>value</em>:&#160;</td>
          <td class="paramtype">Bool&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置给定访问组（ _ACCESS 常量之一）是否具有对文件的给定访问权限（ _PERMISSION 常量之一）。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">access</td><td>访问组（ _ACCESS 常量之一） </td></tr>
    <tr><td class="paramname">permission</td><td>访问权限（ _PERMISSION 常量之一） </td></tr>
    <tr><td class="paramname">value</td><td>如果允许权限，则为 true ；如果不允许，则为 false</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">NoneValueException</td><td>文件解析失败 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5bb5fab51c6014f4e4f211d78e0e4942" name="a5bb5fab51c6014f4e4f211d78e0e4942"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5bb5fab51c6014f4e4f211d78e0e4942">&#9670;&#160;</a></span>setRawListing()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.setRawListing </td>
          <td>(</td>
          <td class="paramname"><em>rawListing</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置FTPFile创建时的原始FTP服务器列表。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">rawListing</td><td>原始FTP服务器列表 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a3345291ab83e341d6a093614bb914569" name="a3345291ab83e341d6a093614bb914569"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3345291ab83e341d6a093614bb914569">&#9670;&#160;</a></span>setSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.setSize </td>
          <td>(</td>
          <td class="paramname"><em>size</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>以字节为单位设置文件大小。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>文件大小（以字节为单位） </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1ecfd5fb5d6255bccd921a8b1fddd039" name="a1ecfd5fb5d6255bccd921a8b1fddd039"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ecfd5fb5d6255bccd921a8b1fddd039">&#9670;&#160;</a></span>setTimestamp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.setTimestamp </td>
          <td>(</td>
          <td class="paramname"><em>date</em>:&#160;</td>
          <td class="paramtype">?DateTime</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置文件时间戳。这通常指最后修改时间。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">date</td><td>表示文件时间戳的 DateTime 实例。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a144a4429ffb715c5bf72ba778b01e650" name="a144a4429ffb715c5bf72ba778b01e650"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a144a4429ffb715c5bf72ba778b01e650">&#9670;&#160;</a></span>setType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.setType </td>
          <td>(</td>
          <td class="paramname"><em>Type</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置文件的类型（ <code><a class="el" href="">DIRECTORY_TYPE</a></code> 、 <code><a class="el" href="">FILE_TYPE</a></code> 等）。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>表示文件类型的整数代码 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a99e3474c9a5185b5895849de1affa385" name="a99e3474c9a5185b5895849de1affa385"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99e3474c9a5185b5895849de1affa385">&#9670;&#160;</a></span>setUser()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.setUser </td>
          <td>(</td>
          <td class="paramname"><em>user</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置拥有文件的用户的名称。这可能是表示用户编号的字符串。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">user</td><td>拥有文件的用户的名称 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a418921b84d52591e506185dce84c47f8" name="a418921b84d52591e506185dce84c47f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a418921b84d52591e506185dce84c47f8">&#9670;&#160;</a></span>toFormattedString() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.toFormattedString </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取FTPFile信息的字符串表示形式，模仿Unix列表格式。 </p>
<dl class="section return"><dt>返回</dt><dd>FTPFile信息的字符串表示形式</dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IllegalArgumentException</td><td>timezone长度超过 4096，或不合法 </td></tr>
    <tr><td class="paramname">InvalidDataException</td><td>时区文件加载失败 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae210ba5ba5545a1c335c8eff76650aa6" name="ae210ba5ba5545a1c335c8eff76650aa6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae210ba5ba5545a1c335c8eff76650aa6">&#9670;&#160;</a></span>toFormattedString() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.toFormattedString </td>
          <td>(</td>
          <td class="paramname"><em>timezone</em>:&#160;</td>
          <td class="paramtype">?String</td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取FTPFile信息的字符串表示形式，允许修改时区。目前模仿Unix列表格式。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">timezone</td><td>将要替换的时区id的字符串表示 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>FTPFile信息的字符串表示形式 </dd></dl>

</div>
</div>
<a id="a915035fdb0da35b5ee12c532d70a9a50" name="a915035fdb0da35b5ee12c532d70a9a50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a915035fdb0da35b5ee12c532d70a9a50">&#9670;&#160;</a></span>toString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.FTPFile.toString </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取 FTPFile 信息的字符串表示形式。 </p>
<dl class="section return"><dt>返回</dt><dd>FTPFile信息的字符串表示形式 </dd></dl>
<dl class="section see"><dt>参见</dt><dd>#getRawListing() </dd></dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a0bbcc92fbb7dcc29c92e69bc0be23042" name="a0bbcc92fbb7dcc29c92e69bc0be23042"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0bbcc92fbb7dcc29c92e69bc0be23042">&#9670;&#160;</a></span>let permissions</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.let permissions : ?Array&lt;Array&lt;Bool&gt;&gt;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>表示权限的二维数组。如果为 None ，表示文件解析失败。 </p>

</div>
</div>
<a id="a9b5bf7da6e22050d571e413b1c41077b" name="a9b5bf7da6e22050d571e413b1c41077b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b5bf7da6e22050d571e413b1c41077b">&#9670;&#160;</a></span>static let DIRECTORY_TYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.static let DIRECTORY_TYPE : Int64 = 1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>常量，表示 FTPFile 是一个目录。 </p>

</div>
</div>
<a id="a55d85b1a9f9c3c87429812bb31a2abe2" name="a55d85b1a9f9c3c87429812bb31a2abe2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55d85b1a9f9c3c87429812bb31a2abe2">&#9670;&#160;</a></span>static let EXECUTE_PERMISSION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.static let EXECUTE_PERMISSION : Int64 = 2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>常量，表示文件/目录执行权限。 </p>

</div>
</div>
<a id="a4fcc79d8af8ce49b6e2cd26de5b44b8f" name="a4fcc79d8af8ce49b6e2cd26de5b44b8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fcc79d8af8ce49b6e2cd26de5b44b8f">&#9670;&#160;</a></span>static let FILE_TYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.static let FILE_TYPE : Int64 = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>常量，表示 FTPFile 是一个文件。 </p>

</div>
</div>
<a id="abda62dd47f3776acd3ea0dca92f30e24" name="abda62dd47f3776acd3ea0dca92f30e24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abda62dd47f3776acd3ea0dca92f30e24">&#9670;&#160;</a></span>static let GROUP_ACCESS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.static let GROUP_ACCESS : Int64 = 1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>常量，表示组访问权限。 </p>

</div>
</div>
<a id="a3fbab9bfbde9b360a51214aaf5575f60" name="a3fbab9bfbde9b360a51214aaf5575f60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fbab9bfbde9b360a51214aaf5575f60">&#9670;&#160;</a></span>static let READ_PERMISSION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.static let READ_PERMISSION : Int64 = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>常量，表示文件/目录读取权限。 </p>

</div>
</div>
<a id="a8483fa485f6d7b9e5c9bae129968eb8c" name="a8483fa485f6d7b9e5c9bae129968eb8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8483fa485f6d7b9e5c9bae129968eb8c">&#9670;&#160;</a></span>static let SYMBOLIC_LINK_TYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.static let SYMBOLIC_LINK_TYPE : Int64 = 2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>常量，表示 FTPFile 是一个符号链接。 </p>

</div>
</div>
<a id="acf11edbf5d6210f251fbe66e9f50bbbb" name="acf11edbf5d6210f251fbe66e9f50bbbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf11edbf5d6210f251fbe66e9f50bbbb">&#9670;&#160;</a></span>static let UNKNOWN_TYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.static let UNKNOWN_TYPE : Int64 = 3</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>常量，表示 FTPFile 类型未知。 </p>

</div>
</div>
<a id="a6c52f64f70f8e85e5e9d4663cfc20ec6" name="a6c52f64f70f8e85e5e9d4663cfc20ec6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c52f64f70f8e85e5e9d4663cfc20ec6">&#9670;&#160;</a></span>static let USER_ACCESS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.static let USER_ACCESS : Int64 = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>常量，表示用户访问权限。 </p>

</div>
</div>
<a id="a2ca1e00ed49678f72a79bbcbad96ed65" name="a2ca1e00ed49678f72a79bbcbad96ed65"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ca1e00ed49678f72a79bbcbad96ed65">&#9670;&#160;</a></span>static let WORLD_ACCESS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.static let WORLD_ACCESS : Int64 = 2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>常量，表示其他用户访问权限。 </p>

</div>
</div>
<a id="a69586a54c791d4db5f8af1f51831dce2" name="a69586a54c791d4db5f8af1f51831dce2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69586a54c791d4db5f8af1f51831dce2">&#9670;&#160;</a></span>static let WRITE_PERMISSION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.static let WRITE_PERMISSION : Int64 = 1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>常量，表示文件/目录写权限。 </p>

</div>
</div>
<a id="a3d54f31c77348a1b9b834db9167b2aa7" name="a3d54f31c77348a1b9b834db9167b2aa7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d54f31c77348a1b9b834db9167b2aa7">&#9670;&#160;</a></span>var _type</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.var _type : Int64 = UNKNOWN_TYPE</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>文件类型，默认为未知类型。 </p>

</div>
</div>
<a id="a2fd750ee09172350ccc496c663c9b132" name="a2fd750ee09172350ccc496c663c9b132"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2fd750ee09172350ccc496c663c9b132">&#9670;&#160;</a></span>var calendar</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.var calendar : ?DateTime = None</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>文件修改时间。 </p>

</div>
</div>
<a id="a9251a451f4b090865a9e70e1b6776e77" name="a9251a451f4b090865a9e70e1b6776e77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9251a451f4b090865a9e70e1b6776e77">&#9670;&#160;</a></span>var group</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.var group : String = &quot;&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>所属组。 </p>

</div>
</div>
<a id="ad3f716a788142ba82610896f3a227456" name="ad3f716a788142ba82610896f3a227456"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3f716a788142ba82610896f3a227456">&#9670;&#160;</a></span>var hardLinkCount</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.var hardLinkCount : Int64 = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>硬链接数，0表示无效。 </p>

</div>
</div>
<a id="acf4e6b5a42879cd5defaa9c6e59fbca2" name="acf4e6b5a42879cd5defaa9c6e59fbca2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf4e6b5a42879cd5defaa9c6e59fbca2">&#9670;&#160;</a></span>var link</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.var link : String = &quot;&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>符号链接指向文件名。 </p>

</div>
</div>
<a id="adaa110b53b8a0914a4fd87b19ac95678" name="adaa110b53b8a0914a4fd87b19ac95678"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adaa110b53b8a0914a4fd87b19ac95678">&#9670;&#160;</a></span>var name</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.var name : String = &quot;&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>文件名。 </p>

</div>
</div>
<a id="a56e0b8a80f492e83a86bdf3c56943d53" name="a56e0b8a80f492e83a86bdf3c56943d53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56e0b8a80f492e83a86bdf3c56943d53">&#9670;&#160;</a></span>var rawListing</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.var rawListing : String</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>原始列表信息。 </p>

</div>
</div>
<a id="af3898ed6a3f9109b5bd4ff845fb1a67e" name="af3898ed6a3f9109b5bd4ff845fb1a67e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3898ed6a3f9109b5bd4ff845fb1a67e">&#9670;&#160;</a></span>var size</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.var size : Int64 = -1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>文件大小，-1表示大小未知。 </p>

</div>
</div>
<a id="ae4a85d9c408a36b6362cef7fec02d620" name="ae4a85d9c408a36b6362cef7fec02d620"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4a85d9c408a36b6362cef7fec02d620">&#9670;&#160;</a></span>var user</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.FTPFile.var user : String = &quot;&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>文件所有者。 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/ftp/<a class="el" href="ftp__file_8cj.html">ftp_file.cj</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.6-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacecommonsNet.html">commonsNet</a></li><li class="navelem"><a class="el" href="namespacecommonsNet_1_1ftp.html">ftp</a></li><li class="navelem"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html">FTPFile</a></li>
    <li class="footer">制作者 <img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
